import java.util.Scanner;

/**
 * Created with IDEA
 * author:ju bai
 * Date:2021/5/21
 * Time:23:35
 **/
public class Main1 {
    /**
     * 每日一题-最难的问题
     * @param args
     */
    public static void main1(String[] args) {
        Scanner sc = new Scanner(System.in);
        while (sc.hasNext()) {
            char[] sw = new char[130];
            String str1 = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
            String str2 = "VWXYZABCDEFGHIJKLMNOPQRSTU";
            for (int i = 0; i < str1.length(); i++) {
                sw[str1.charAt(i)] = str2.charAt(i);
            }
            String str = sc.nextLine();
            String result = "";
            for (int i = 0; i < str.length(); i++) {
                if (str.charAt(i) == ' ') {
                    result += " ";
                } else {
                    result += sw[str.charAt(i)];
                }
            }
            System.out.println(result);
        }
    }

    /**
     * 每日一题-最难的问题
     * E 之后，-5，E 之前，+21
     * @param args
     */

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        while(sc.hasNext()) {
            String str = sc.nextLine();
            StringBuilder s = new StringBuilder();
            for(int i = 0;i<str.length();i++) {
                char ch = str.charAt(i);
                if(ch==' '){
                    s.append(" ");
                }else{
                    s.append((char)(ch>'E'?ch-5:ch+21));
                }
            }
            System.out.println(s);
        }
    }
}
